fix: azuread_privileged_access_group_eligibility_schedule resource is handled too many request#1843
Open
kenchan0130 wants to merge 1 commit intohashicorp:mainfrom
Conversation
…hedule_resource Signed-off-by: Tadayuki Onishi <tt.tanishi100@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Description
This PR introduces a retry mechanism for the
PrivilegedAccessGroupEligibilityScheduleResourceduring the read operation.Previously, transient API failures could cause unexpected errors when retrieving the eligibility schedule.
By adding retry logic, this update improves reliability and reduces the likelihood of read failures caused by temporary service issues.
No breaking changes are expected from this update.
Below is the actual error log that occurred when running
terraform planon a resource usingfor_each.Changes to existing Resource / Data Source
Testing
As this update focuses on adding retry behavior for read operations, testing primarily involved validating successful retries under simulated transient failure conditions.
Change Log
azuread_privileged_access_group_eligibility_schedule– added retry logic to improve reliability during read requestsType of PR
This is a (please select all that apply):
Related Issue(s)
n/a
Rollback Plan
If needed, the change can be reverted by removing the retry mechanism from the read request handler.
Changes to Security Controls
This PR does not introduce any changes to security controls, such as access controls, encryption, or logging.